//养护基地
var vm = new Vue({
    el: '#app',
    data: function() {
        return {
            baseNumber: 0, //基础设施
            carNumber: 0, //车辆设施
            companyNumber: 0, //养护公司
            planNumber: 0, //当日养护
            tunnelBaseNumber: 0 //养护基地
        }
    },
    mounted: function() {
        var that = this;
        mui.init({});
        mui.ready(function() {
            loading.show();
            $.getJSON('/define/getBaseStatistics', {}, function(res) {
                that.baseNumber = res.baseNumber;
                that.carNumber = res.carNumber;
                that.companyNumber = res.companyNumber;
                that.planNumber = res.planNumber;
                that.tunnelBaseNumber = res.tunnelBaseNumber
                loading.hide();
            })
        })
    },
    methods: {

    }
})